#from django.db import models

# Create your models here.
from google.appengine.ext import db
import urllib

cur_app = "searchask"

class GoodAsk(db.Model):
    """
    collect data for push to other
    """
    askdesp = db.StringProperty()
    askurl = db.LinkProperty()
    tags = db.StringListProperty()
    other = db.TextProperty()

    def __unicode__(self):
        return self.askdesp

class AskSite(db.Model):
    sitename = db.StringProperty()
    searchurl = db.StringProperty()
    choose = db.BooleanProperty()

    def __unicode__(self):
        return self.sitename
    
